package com.eedi.framework.sms.enums;

import com.eedi.framework.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;


/**
 * 用户短信验证码发送场景的枚举
 *
 * @author 永聚长青源码
 */
@Getter
@AllArgsConstructor
@ToString
public enum SmsNotifyOptionalEnum implements BaseEnum<Integer,String> {

    MUST(1, "必选"),
    OPTIONAL(2, "可选"),
    ;


    /**
     * 状态值
     */
    private final Integer code;
    /**
     * 状态名
     */
    private final String desc;

    @Override
    public String title() {
        return "用户短信验证码发送场景";
    }
}
